<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=3.0,user-scalable=yes" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <title>商品详情</title>
    <script type="text/javascript" src="__dotnar_lib_base_url__/js/lib/require.min.js"></script>
	<script type="text/javascript" src="__dotnar_lib_base_url__/js/lib/loader.js"></script>
    <script type="text/javascript" src="/js/require.config.js"></script>
    <script type="text/javascript">
    require(["core"], function() {
        if (!window.ischao) {
            window.close();
        };
        require(['r_css!./css/icon.css', 'r_css!./css/mobile.main.css'], function(argument) {
            window.removeLoader();
            var messenger = new Messenger('parent', 'goodscontent');
            messenger.listen(function(html) {
                console.log(messenger.name);
                App.set("$Cache.goods_detail", html);
            });
        });
    });
    </script>
</head>

<body>
    <div class="goodscontent" id="jSouperApp" style="display:none">
        <div class="back">
            <sbutton shadownum1="0 1px 4px 0" shadownum2="0 1px 8px 0" class="btn" text="返回" event-click="{{'$Event.closeWindow'}}"></sbutton>
        </div>
        <script type="text/vm">
            require(['common'],function(){
                App.set('$Event.closeWindow',function(){
                    window.close();
                })
            })
        </script>
        {{HTML $Cache.goods_detail}}
    </div>
</body>

</html>
